<%@ page import="top.wuyang.study.javaexam.TbGoodsDAO" %><%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/6/23
  Time: 18:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>删除</title>
</head>
<body>

<%
    request.setCharacterEncoding("UTF-8");
    Integer id = Integer.parseInt(request.getParameter("id"));
    TbGoodsDAO.delete(id);
%>



<script>
    alert("信息删除成功");
    location.href='list.jsp';
</script>

</body>
</html>
